package com.ssy.lingxi.system.dto.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class MemberEquitiesUseResponse implements Serializable {


    private static final long serialVersionUID = 7182932941048043839L;
    @JsonProperty("id")
    @ApiModelProperty(value = "权益使用设置ID")
    private Long id;

    @JsonProperty("explain")
    @ApiModelProperty(value = "权益说明")
    private String explain;

    @JsonProperty("name")
    @ApiModelProperty(value = "权益使用名字")
    private String name;

    @JsonProperty("member_equities_id")
    @ApiModelProperty(value = "权益设置ID")
    private Long memberEquitiesId;

    @JsonProperty("parameter_manner")
    @ApiModelProperty(value = "参数设置方式：1.按交易金额比例 2.在活动中设置")
    private Integer parameterManner;
    @JsonProperty("state")
    @ApiModelProperty(value = "状态：1.启动 0.停用")
    private Integer state;

    @JsonProperty("equities_name")
    @ApiModelProperty(value = "权益名称")
    private String equitiesName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getMemberEquitiesId() {
        return memberEquitiesId;
    }

    public void setMemberEquitiesId(Long memberEquitiesId) {
        this.memberEquitiesId = memberEquitiesId;
    }

    public Integer getParameterManner() {
        return parameterManner;
    }

    public void setParameterManner(Integer parameterManner) {
        this.parameterManner = parameterManner;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getEquitiesName() {
        return equitiesName;
    }

    public void setEquitiesName(String equitiesName) {
        this.equitiesName = equitiesName;
    }

    public MemberEquitiesUseResponse() {
    }

    public MemberEquitiesUseResponse(Long id, String explain, String name, Long memberEquitiesId, Integer parameterManner, Integer state, String equitiesName) {
        this.id = id;
        this.explain = explain;
        this.name = name;
        this.memberEquitiesId = memberEquitiesId;
        this.parameterManner = parameterManner;
        this.state = state;
        this.equitiesName = equitiesName;
    }

    @Override
    public String toString() {
        return "MemberEquitiesUseResponse{" +
                "id=" + id +
                ", explain='" + explain + '\'' +
                ", name='" + name + '\'' +
                ", memberEquitiesId=" + memberEquitiesId +
                ", parameterManner=" + parameterManner +
                ", state=" + state +
                ", equitiesName='" + equitiesName + '\'' +
                '}';
    }
}
